package com.rbac.service.impl;

import com.rbac.entity.vo.SysMenuVo;
import com.rbac.service.SysMenuService;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;

@Service
public class SysMenuServiceImpl implements SysMenuService {
    @Override
    public List<SysMenuVo> findByRoleIdList(Set<Long> rolesId) {
        List<SysMenuVo> sysMenuVos = new ArrayList<>();
        SysMenuVo sysMenuVo =new SysMenuVo();
        sysMenuVo.setId(1L);
        sysMenuVo.setType(1);
        sysMenuVo.setTitle("系统管理");
        sysMenuVo.setComponent("system");
        sysMenuVos.add(sysMenuVo);
        return sysMenuVos;
    }
}
